#!/bin/bash

SCRIPT_DIR=$(cd `dirname $0` && pwd)
cd ${SCRIPT_DIR}

mkdir -p ../../build/yi-hack/bin/ || exit 1
mkdir -p ../../build/yi-hack/.micropython/lib || exit 1

rsync -av ./_install/ ../../build/yi-hack/ || exit 1

# Install dependency too
./libffi/install.libffi